﻿
#include "Sil/SilLabel/SilLabelIF.h"


namespace Algorithm {

static std::vector<Mf4Recorder::TimeSlice> ins_label;

void addLabel(const std::string& label, const float startLabelBeforeTime, const float endLabelAfterTime)
{
	Mf4Recorder::TimeSlice timeSlice;
	timeSlice.label = label;
	timeSlice.startLabelBeforeTime = startLabelBeforeTime;
	timeSlice.endLabelAfterTime = endLabelAfterTime;

	ins_label.push_back(timeSlice);
}

const std::vector<Mf4Recorder::TimeSlice>& getLabel(void)
{
	return ins_label;
}

void clearLabel(void)
{
	ins_label.clear();
}

}// namespace Algorithm